package com.test.practice.annotation.repeatable;

@CanBeRepeated("the 1")
@CanBeRepeated("the 2")
@CanBeRepeated("the 3")
public class RepeatableAnnotatedClass {
	public static void main(String[] args) {

		//getAnnotationsByte获得重复使用注解
		CanBeRepeated[] clas = RepeatableAnnotatedClass.class.getAnnotationsByType(CanBeRepeated.class);
		for (CanBeRepeated canBeRepeated : clas) {
			System.out.println(canBeRepeated.value());
		}
	}
}
